How to split string in numpy.ndarray